<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted () {
    this.init()
  },
  methods: {
    init () {
      // this.checkDevice()
    },
    // TODO:需要判断后做什么
    checkDevice () { // 检查设备
      let browser = navigator.userAgent
      console.log(browser)
    }
  }
}
</script>
